package controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;
import service.BookService;

@Controller
public class UserController {
    private int total;

    @RequestMapping("/lo")
        public String login(Model model){
        model.addAttribute("ss","s");
        BookService[] services = new BookService[total];
            return "login";
        }
    }

